package com.lingxu.base.system.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SysLogSearchVO {

    @ApiModelProperty(value = "用户姓名")
    private String realname;

    @ApiModelProperty(value = "地区编码")
    private String region;

    @ApiModelProperty(value = "操作类型")
    private Integer operateType;

    private String userid;

    /**创建时间始末*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间开始")
    private Date createTimeStart;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间结束")
    private Date createTimeEnd;

    @TableField(exist = false)
    private  Integer pageNo;
    @TableField(exist = false)
    private  Integer pageSize;
}
